package springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * 实时刷新要修改 yml和 controller 同时 发起一次post请求 即可
 * curl -X POST "http://localhost:3355/actuator/refresh"
 * http://localhost:3366/configclient/configInfo
 */
@EnableEurekaClient
@SpringBootApplication
public class ConfigClientMain3366 {

    public static void main(String[] args) {
        SpringApplication.run(ConfigClientMain3366.class, args);
    }
}
